package com.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>
 *流动站监控
 * </p>
 *
 * @author zhangqing
 * @since 2021/1/25
 */
@Data
@ApiModel("流动站监控")
public class MobileStationMonitorDTO {

    private String id;
    @ApiModelProperty("公司名")
    private String cmy;
    @ApiModelProperty("设备集合")
    public List<MobileDevice> deviceList;
@Data
@ApiModel("设备")
@NoArgsConstructor
    public static class MobileDevice{
    private String id;
    @ApiModelProperty("公司名")
    private String cmy;

    @ApiModelProperty("stop:禁止;move:移动")
    private  String state;
    @ApiModelProperty("纬度")
    private String latitude;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("挂载点名称")
    private String mountPointId;
    @ApiModelProperty("流动站名称,对应username")
    private String name;
    @ApiModelProperty("设备名")
    private String code;
    @ApiModelProperty("对应ntripname")
    private String ntripAccount;


}

}
